// 统一路由管理

import Home from "../page/home"
import News from "../page/news"
import Cart from "../page/cart"


const routes = [
    {
        key:'home',
        path: "/",
        component: Home
    },
    {
        key:'news',
        path: "/news",
        component: News,
    },
    {
        key:'cart',
        path: "/cart",
        component: Cart,
    },
    
]

export default routes